<template>
  <div class="login">
    <Button @click="onOnlineMap">To Online Map</Button>
    <Button @click="onOfflineMap">To Offline Map</Button>
  </div>
</template>

<script lang="ts" setup>
import {} from "vue";
import { Button } from "ant-design-vue";
import { useRouter } from "vue-router";

const router = useRouter();

const onOnlineMap = () => {
  router.push({ path: "/online-map" });
};
const onOfflineMap = () => {
  router.push({ path: "/offline-map" });
};
</script>

<style lang="less"></style>
